package com.ynunicom.dc.dingdingcontractapp.service;

import com.alibaba.fastjson.JSONObject;
import com.ynunicom.dc.dingdingcontractapp.entity.requestbodyentity.DeptRequestBody;
import com.ynunicom.dc.dingdingcontractapp.entity.requestbodyentity.GetChildDeptIdListRequestBody;
import com.ynunicom.dc.dingdingcontractapp.entity.requestbodyentity.GetDeptListRequestBody;
import com.ynunicom.dc.dingdingcontractapp.entity.requestbodyentity.TransBody;

/**
 * @author: jinye.Bai
 * @date: 2020/5/27 16:29
 */
public interface DeptService {

    public JSONObject addNewDept(TransBody<DeptRequestBody> transBody);

    public JSONObject updateDept(TransBody<DeptRequestBody> transBody);

    public JSONObject getChildDeptIdList(TransBody<GetChildDeptIdListRequestBody> transBody);

    public JSONObject list(TransBody<GetDeptListRequestBody> transBody);

    public JSONObject info(TransBody<String> transBody);
}
